<template>
  <h2>main.system.user.role {{ testN.hh }}</h2>
  <test v-model:testN="testN" ref="rrrr"></test>
  <el-button @click="change">修改</el-button>
</template>
<script setup lang="ts">
import test from './test.vue'
import { ref, reactive } from 'vue'
const rrrr = ref()
// const testV = reactive({
//   hh: 1223
// })
const testN = ref({
  hh: {
    hh: 1223
  },
  hh2: 1234,
  hh3: [124]
})
const change = () => {
  testN.value.hh.hh++
}
</script>
<style lang="less"></style>
